dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d75904
)
Reduce chunk size in doBatchPush for redis
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 7 May 2015 01:24:34 +0000
(18:24 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 7 May 2015 01:24:34 +0000
(18:24 -0700)
Change-Id: I2c66b6b69535ce2089c1fab2df962f4ebca9f62f
includes/jobqueue/JobQueueRedis.php
patch
|
blob
|
history
diff --git
a/includes/jobqueue/JobQueueRedis.php
b/includes/jobqueue/JobQueueRedis.php
index
c0d3bec
..
f1de76c
100644
(file)
--- a/
includes/jobqueue/JobQueueRedis.php
+++ b/
includes/jobqueue/JobQueueRedis.php
@@
-205,7
+205,7
@@
class JobQueueRedis extends JobQueue {
if ( $flags & self::QOS_ATOMIC ) {
$batches = array( $items ); // all or nothing
} else {
- $batches = array_chunk( $items,
5
00 ); // avoid tying up the server
+ $batches = array_chunk( $items,
1
00 ); // avoid tying up the server
}
$failed = 0;
$pushed = 0;